package com.wdb.exchange.model;

import java.io.Serializable;

import com.google.gson.Gson;

/**
 * 书柜初始化信息
 * 
 * @author linxu
 *
 */
public class InitBookShelfInfoModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2930591647673322492L;
	private String bookShelfCode;// 书柜编号
	private String bookShelfArea;// 书柜所在地(机构名或小区名)
	private String address;// 书柜所在详细地址
	private String longtiude;// 经度
	private String latitude;// 纬度
	private String model;// 书柜型号
	private String sortBy;// 书格展示排序

	private int gridNum;// 书格数量
	private String ver;// 版本号

	public String getBookShelfCode() {
		return bookShelfCode;
	}

	public void setBookShelfCode(String bookShelfCode) {
		this.bookShelfCode = bookShelfCode;
	}

	public String getBookShelfArea() {
		return bookShelfArea;
	}

	public void setBookShelfArea(String bookShelfArea) {
		this.bookShelfArea = bookShelfArea;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getLongtiude() {
		return longtiude;
	}

	public void setLongtiude(String longtiude) {
		this.longtiude = longtiude;
	}

	public String getLatitude() {
		return latitude;
	}

	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	public String getSortBy() {
		return sortBy;
	}

	public void setSortBy(String sortBy) {
		this.sortBy = sortBy;
	}

	public int getGridNum() {
		return gridNum;
	}

	public void setGridNum(int gridNum) {
		this.gridNum = gridNum;
	}

	public String getVer() {
		return ver;
	}

	public void setVer(String ver) {
		this.ver = ver;
	}

	@Override
	public String toString() {
		return new Gson().toJson(this);
	}
}
